style.module.scss 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337
  1. @keyframes smoothscroll {
  2. 0% {
  3. transform: translateY(0);
  4. }
  5. 100% {
  6. transform: translateY(-20rem);
  7. }
  8. }
  9. .scrollAnimation {
  10. padding: 3px 0;
  11. animation: smoothscroll 30s linear infinite;
  12. }
  13. /* From Uiverse.io by vamsidevendrakumar */
  14. .card {
  15. width: 300px;
  16. height: 200px;
  17. perspective: 1000px;
  18. }
  19. .cardInner {
  20. width: 100%;
  21. height: 100%;
  22. position: relative;
  23. transform-style: preserve-3d;
  24. transition: transform 0.999s;
  25. }
  26. .card:hover .cardInner {
  27. transform: rotateY(180deg);
  28. }
  29. .cardFront,
  30. .cardBack {
  31. position: absolute;
  32. width: 100%;
  33. height: 100%;
  34. backface-visibility: hidden;
  35. }
  36. .cardFront {
  37. background-color: #6a2c70;
  38. color: #fff;
  39. display: flex;
  40. align-items: center;
  41. border: 10px solid #6a2c70;
  42. border-radius: 10px;
  43. justify-content: center;
  44. font-size: 24px;
  45. transform: rotateY(0deg);
  46. }
  47. .cardBack {
  48. background-color: #f08a5d;
  49. color: #fff;
  50. display: flex;
  51. align-items: center;
  52. border: 10px solid #f08a5d;
  53. border-radius: 10px;
  54. justify-content: center;
  55. font-size: 24px;
  56. transform: rotateY(180deg);
  57. }
  58. .packetWrapper {
  59. position: absolute;
  60. top: 0;
  61. left: 0;
  62. transform: translateY(-100%);
  63. animation: down 8s linear infinite;
  64. font-size: 0;
  65. }
  66. .packet {
  67. width: 100%;
  68. height: 100%;
  69. position: relative;
  70. transition: all 3s ease;
  71. transform: rotate(0);
  72. }
  73. @keyframes down {
  74. 0% {
  75. transform: translateY(-100%);
  76. }
  77. 100% {
  78. transform: translateY(100vh);
  79. }
  80. }
  81. .promoRules {
  82. // background:url('/hby/hby_bg.png') no-repeat;
  83. background-size: 100% 100%;
  84. .promoTitle {
  85. font-weight: 400;
  86. font-weight: 700;
  87. }
  88. .titleWrap {
  89. font-size: 0.18rem;
  90. text-align: center;
  91. color: #ffdf7f;
  92. margin: 0.1rem 0;
  93. }
  94. .tips {
  95. margin: 0 auto;
  96. width: 2.5rem;
  97. height: 0.6rem;
  98. background: url("/hby/tip-bg.png") no-repeat;
  99. background-size: 100% auto;
  100. display: flex;
  101. justify-content: center;
  102. line-height: 0.48rem;
  103. .tipsIcon {
  104. display: inline-block;
  105. width: 0.4rem;
  106. height: 0.25rem;
  107. margin: 0.11rem 0 0;
  108. }
  109. .tipsTime {
  110. color: #3ab54c;
  111. font-size: 0.18rem;
  112. font-weight: 700;
  113. margin: 0 0 0 0.1rem;
  114. }
  115. }
  116. .times1 {
  117. margin: 0.14rem auto;
  118. }
  119. .rulelist {
  120. width: 90%;
  121. font-family: "Arial-BoldMT, Arial";
  122. color: #fff8bb;
  123. font-size: 0.1rem;
  124. line-height: 0.14rem;
  125. list-style-type: disc;
  126. transform: scale(0.96);
  127. margin: 0.08rem 0 0 0.1rem;
  128. .ruleItem {
  129. list-style: disc;
  130. }
  131. }
  132. .closeIcon {
  133. position: absolute;
  134. width: 30px;
  135. height: 30px;
  136. right: 0.12rem;
  137. top: 0.1rem;
  138. cursor: pointer;
  139. }
  140. }
  141. .redclose {
  142. display: flex;
  143. -webkit-box-pack: start;
  144. -ms-flex-pack: start;
  145. justify-content: flex-start;
  146. -webkit-box-align: center;
  147. -ms-flex-align: center;
  148. align-items: center;
  149. -webkit-box-orient: vertical;
  150. -webkit-box-direction: normal;
  151. -ms-flex-direction: column;
  152. flex-direction: column;
  153. width: 2.09rem;
  154. height: 2.575rem;
  155. // background: url('/hby/red-bg1.png') no-repeat;
  156. // background-size: 2.09rem 2.575rem;
  157. z-index: 120;
  158. .closeIcon {
  159. position: absolute;
  160. right: 0;
  161. top: 0;
  162. width: 40px;
  163. height: 40px;
  164. cursor: pointer;
  165. }
  166. .redIcon {
  167. cursor: pointer;
  168. }
  169. .title {
  170. color: #ffd800;
  171. font-size: 0.18rem;
  172. text-align: center;
  173. font-family: " Arial-BoldMT,Arial";
  174. font-weight: 700;
  175. width: 1.8rem;
  176. height: 0.25rem;
  177. margin-top: 0.24rem;
  178. }
  179. .desc {
  180. color: #fff;
  181. font-size: 0.13rem;
  182. font-family: "Arial-BoldMT,Arial";
  183. width: 1.6rem;
  184. height: 1rem;
  185. margin-left: 0.22rem;
  186. .desclist {
  187. list-style-type: disc;
  188. font-size: 0.1rem;
  189. transform: scale(0.96);
  190. font-weight: 400;
  191. .line {
  192. margin-top: 0.09rem;
  193. margin-left: -0.14rem;
  194. width: 1.6rem;
  195. height: 0.005rem;
  196. background: hsla(0, 0%, 100%, 0.2);
  197. }
  198. li {
  199. margin-top: 0.08rem;
  200. list-style: disc;
  201. }
  202. }
  203. }
  204. .openBtn {
  205. cursor: pointer;
  206. margin: 0.06rem auto 0;
  207. width: 1rem;
  208. height: 0.3rem;
  209. line-height: 0.3rem;
  210. font-family: "Arial-BoldMT,Arial";
  211. color: #613e00;
  212. font-size: 0.115rem;
  213. font-weight: 700;
  214. text-align: center;
  215. }
  216. }
  217. .redopen {
  218. display: flex;
  219. -webkit-box-pack: start;
  220. -ms-flex-pack: start;
  221. justify-content: flex-start;
  222. -webkit-box-align: center;
  223. -ms-flex-align: center;
  224. align-items: center;
  225. -webkit-box-orient: vertical;
  226. -webkit-box-direction: normal;
  227. -ms-flex-direction: column;
  228. flex-direction: column;
  229. width: 2.11rem;
  230. height: 2.555rem;
  231. // background: url('/hby/red-bg2.png') no-repeat;
  232. // background-size: 2.11rem 2.555rem;
  233. z-index: 120;
  234. .closeIcon {
  235. position: absolute;
  236. right: 0;
  237. top: 0;
  238. cursor: pointer;
  239. }
  240. .title {
  241. color: #925c00;
  242. font-size: 0.16rem;
  243. text-align: center;
  244. font-family: "Arial-BoldMT,Arial";
  245. width: 1.595rem;
  246. margin-top: 0.4rem;
  247. }
  248. .cash {
  249. position: absolute;
  250. top: 40%;
  251. color: #8c0c04;
  252. text-align: center;
  253. font-family: "Arial-BoldMT,Arial";
  254. font-weight: 700;
  255. font-size: 0.55rem;
  256. }
  257. .tips {
  258. margin-top: 0.3rem;
  259. width: 1.545rem;
  260. color: #ffd800;
  261. text-align: center;
  262. font-family: " Arial-BoldMT,Arial";
  263. font-size: 0.1rem;
  264. line-height: 0.12rem;
  265. transform: scale(0.96);
  266. }
  267. }
  268. .categoryItem {
  269. border: 1px solid #3aa3c5;
  270. border-radius: 0.06rem;
  271. box-shadow: 0 0 0.1rem #3aa3c5 inset;
  272. display: flex;
  273. align-items: center;
  274. justify-content: center;
  275. position: relative;
  276. padding: 0.1rem 0;
  277. font-size: 0.12rem;
  278. margin-bottom: 0.1rem;
  279. &.active {
  280. border: 1px solid #e53fff;
  281. box-shadow: 0 0 0.1rem #e53fff inset;
  282. }
  283. &.small {
  284. margin-left: 0.1rem;
  285. margin-right: 0.1rem;
  286. }
  287. .categoryItemNum {
  288. position: absolute;
  289. right: 0;
  290. top: 0;
  291. background: #ff0000;
  292. width: 0.17rem;
  293. height: 0.17rem;
  294. display: flex;
  295. align-items: center;
  296. justify-content: center;
  297. color: #fff;
  298. font-size: 0.1rem;
  299. border-radius: 50%;
  300. line-height: 1;
  301. }
  302. }
  303. .promoItem {
  304. position: relative;
  305. .promoItemNum {
  306. position: absolute;
  307. left: 0.13rem;
  308. top: 0.1rem;
  309. background: #ff0000;
  310. width: 0.1rem;
  311. height: 0.1rem;
  312. border-radius: 50%;
  313. }
  314. }